fix add_tag issue