remove ineffective memoized function