smazan stary trigger, pridany check na duplicitu