fixed a bugs in configuration file