fix array syntax for <5.4
Merge branch 'fix/array_syntax'