array fixing