Revert "keep idx counter in sync with hashop's internal counters"

This reverts commit 27aafa993d8b2ca58973078840071266c1cbe056.