fix emergency function