clear unwanted code