fix bug which caused generateMBODesign to evaluate target function even if provided in design