handling loss emergency situation