fix(init): trim the inputs

Closes #663