fixed some small(ish) index bugs
2 files changed