Fix bug: double save.