catch the case where things are failing