Index is on idx, not x