cnv: index out of range