fix monitor event, for remove debugger