fixed bad reference to getBaseDomain