removes type field for certain events