Bug fix on configs.