fix ai movement