fixing error in config