indexing issues on accrual solved