added missing return in db/Object