index fixes: empty index b([], []) was failing