patches for tag lookups