if a resource is not found, return 404