some fixes in old loading dictionaries code