fix bug in memoizing responsibilities