removing unneeded tags