bugfix for trigger selection