fix from position rematch, only store FEN when needed