fix some bugs and update readme file

@YukunSu @ysimonliu