fix bugs and upgrade README.md content