fix set_run_status bug