Bugfix in session time