detect arrays
Merge branch 'master' into niix