Fix arrays