Merge pull request #352 from maxtaran2010/fix/typos

fix: correct typos in comments and error strings