fix issue of pawn selection