update statcollection, loadhelper and fixed some bugs