minor bug in session solved