prevent duplicate triggers from being added