set proper session
Merge pull request #301 from rjc123/master

set proper session