fix statshelper bug