Fixing array initialization