Small fix to session.start (not always started correctly).