Fixing array 5.4 syntax

Minor formatting fixes and fixed a bug using shorthand syntax breaking 5.3 compatability