fix commented indexing debug statement