fix vhost support