fixed error in session_helper