Fix array initialization