remove ancilliary stuff