fixed moving error.