now the app won’t crash if the model file becomes corrupt