simplify domainhandler