ensure that keys are unique when processing sections