fix subdomain mask