fix bug for using formatexpr
Merge pull request #18 from bbchung/master

fix bug for using formatexpr