fixed for subdomains