Show various statistic info, and fix a minor bug