re-fix #8
config update
fixed #6
session update