fix for the triggers stuff