removing unwanted tags