Correcting ugly errors

Corrected two pretty obvious mistakes.
Merge pull request #45 from jlarouche/patch-1

Correcting ugly errors