fix the move bug, moving from one to another in the map