removing items from db fixed. fix 0 cursor index?