fix paths, fix subdomains of wildcards