Delete unwanted code