Revert changes for arrays