fix create_correction_spec