fix some triggers