rm trailing spaces
Fixed global leak
Merge pull request #1124 from coderaiser/patch-1

Removed trailing spaces on Readme
Fixed issue introduced due to documentation generation