update readme.md and fix bug.