fix subdomain matching for custom styles