Residues treatment