fix bug and add select_model_1