session_tools bugs fixed