write README.md
fix bugs