Fix pre_process header on extract_data()