Fixed error messages not showing.
Merge pull request #3 from pcoder/master

Fixed error messages not showing.