I fixed another error when trying to add a new session.