fix for updated err dependency