deal with case on subdomains