return a 404 if record not found