remove hazards