fix subdomain-less requests