fix error in config manager