avoid false-positive error return code