remove unwanted trace