fix redirecting custom domains to main label page