correct error condition