Bug fixes in Pawn