fix trigger statement