added ignore-error mode