no handle counter threshold correctly