Fixed a few error messages
Merge pull request #661 from jdalphon/fixErrorMessages

Fixed a few error messages