Sounds like your encoder is out of phase