update add_configuration macro. split the values in order to remove duplicates.