repair emergency protocol