fix FEN reader