Avoid some obvious crash risks