fixed so domain is sent instead of domain regex