session fix
Merge pull request #893 from Pomax/sessionfix

session fix