Major incident averted