disable unnecessary session.