fix for trigger