fixed crash on outdated session
dev