removing tag name on empty text