memory session, bug修复