error handling for project edit pages