removing tag code