Bugfix :add records to the dictionary