fix double section add under certain circumstances