fixes repeated items in config file