Fixed array formatting errors