invalid collective elements index