fixed export of triggers