clearUnusedTriggerHandlers