revert array res