fix the problem that cannot find the dict path