bugfix for trigger object matching types