Fix: id should be self._id in addToDb