correct  statistics extraction