#3248: fixes hp scanner's bad XRef