Fix: bad index