Try to fix monkeypatch error.