update README and minor bugs