fix return value of ignoreErrors