fixing order of sections. removing duplicates.