fixed an error in generator, bumped the version to 1.0.1