fix of stats init bug in dashboard mentioned in #260