crash fix on setting wrong FEN