fix bug with duplicate keys in the section lists.