fix for subdomain