fixed line 250 in db Handler