fixed #3463 update trigger code.
fixed #3463  update cons.
Merge pull request #12 from chengstory/#3463

fixed #3463 update trigger code.