fix mass assigment monkeypatch