Fixed a bug in Generator options.