fix ecg ok bug