index for wrong prediction