improve dbSelect behavior in vhost mode