disallow memo on ref return