error correction

correct error from Issue closes #93
Merge pull request #118 from litixsoft/master

error correction