how come you call `CommCareCase.get_db()` in one place and `get_db()` in the other?