fix instance file path problem.