change some algorithms to one line function
bugfix: readme path