better error handling of models and routes