Fix failsafeCnt for ppm input