fixed pawn problem