guard for a crash