fix run bug