removing useless tags