enable remove duplictaes in generateDesign