fix bug

memory session