fix bug in pawn movement