bugfix new doGenerate signature