fix "all" stats functionality