event bug fix and general model insert for all null model