finish load_model and save_model