fix syntax in trigger