cleanup the configElements in ScanSetup