fixed error no such item for Cursor instance