fix unique merge