modify

optimize memory session