fixed bug when last bot sometimes stopped moving.