fix some memory leak; add a link in README.md