fixed a problem in using the default config location