fix load config file problem