clear session before save