added an exception for the model not found