save statistics working without logs