fix "Illegal space after opening round bracket at lib/generator.js"