patch 31: fixed option for db selection