Added strip function for unwanted tags