Fix to missing variable: no such variable "host"