return 404 instead of exception if model can't be found