cleanup any hardcoding of domain names