before merge branches