tweaks database selection