xxx light: fix emergency mode