fixed the dictionary non-functional problem.