bugfix empty session