prevent emergency