Fixed normalize for subdomains