add extra logging to tag_deliver