change try position, include session open and add handler method
fixed compile error
Merge branch 'master' into soar