change some bug and print information.
fix some bug and change some print info.