fix domain_check