bugfix in Readme.md
code refactor