add some stat and fix config parse