Fix step count issue