cleaning up, optimized onlineStatistic, angular faster update other state.