yet another index bug