fix the run bug