fix bugs and add README