improve FEN parsing