cleanup kompare for dictionary check