fixed sessions

All tests pass