finish pgn decode method