Fixed session option not working issue.