bug fix on bot movement