revert changes about session
 - surppress operator is there to suppress warning