handle counter errors