added a very ugly validation for pawn move