Getting it right when things go wrong.