Fixed a bug in config.