fixed bugs and configured session set