remove session.discard until it is ready