cleanup content_tag method