prevent panic