fix trigger generic