Fixed wrong error messages
Merge pull request #7 from komamitsu/fix_error_msg

Fixed wrong error messages