Fix bug in saving model data