update README.md and fix bugs in shell.