fixed manage_events