revert memoize