clean statistics output