removed obsolete code under #if defined(WIP_UNIFIED_STATS)