fix bug caused by member access. still have todo
compare old and new sessdb