preprocess stats header fix