memoize decorator again, put ref in closure not property