fixed counter for error bytes