fixed bug: memoizer cache shouldn't be static
v8 because of breaking change