fix triggers