fix trigger
Merge pull request #99 from quentinmaurin/fixSQL

fix trigger