delete the tag memory