fix FEN bug in examples