delete unwanted code