fix bug analyze WBS when session destroyed