fixed call to http_host variable