Fixed bug in configuration manager