Gene editing for compatibility