bugfix double events in of_type