private void OnDestroy()
 {
     if (model != null)
     {
         model.Dispose();
     }
     model = null;
 }