fix trigger searching