fixed bug with multiple hazardbuttons