delete tag-related code