Fixed bug with sanitized host