fixed so_tag deletion