index out of bounds CTC