remove stream memoization