fix problem with duplicated sections