attache: hopefully fix out of bounds array access (no whatsnew)