fix bug in config file