debug & disable event handler