fix infinite loop due to wrong Event Manager