cleaning unwanted code