added getAll() and _id fix