Treatment of the separated residue