fixed indexed array detection
Better indexed array detection