simplify hazard_ref