support customized host.