fixed an issue with pawn