fixed a bug in generateDesign causing user defined parameters not to be applied appropriately