Fix errors when session is previously started.