deconfuse out-of-range index with obsolete syntax