trigger fixes