fix run state