fix unable to sign up from subdomain