fixed 500 sessionToken save issue