fix bug of resolve vhost, must strip then get from config.