fixed a bug where error messages not showing
Merge pull request #4 from wahchun927/master

fixed a bug where error messages not showing