finish the pgn reader