Deletion of unwanted code