Fix vhost bug