verify there's an error