Errors rectified

made changes to remove the error.
Merge pull request #131 from slash21gnr/patch-3

Errors rectified