deleting unwanted code