futoase's fix for domain => domainName