fix asignment problems in dbHandler