add resolve_host param