support save the model file