fix run-example script
better expression
Merge pull request #923 from haoyuan/master

fix run-example script