fix needless hazard