fixed a movement issue