fix config file issue