add missing contraint to merge