fixed adding defaults when nesting memoize_context