Fixed a bug in configuration.