allow "access_domain" could be null, otherwise will throw a error