clean up subdomain check