fix no config file error