adding disable emergency mode