enumerate flattens arrays in globs