regenerating after merge