Replaced deprecated clean