fixing triggers