fix cfg file path