fixed no domainname execption