fix pawn movement bug