Highway disaster nearly avoided