also patch constant / static lookups