remove event form type compiler pass