fix default database selection on shell start