Fixed comma problem in dic generation