cleaning useless tags