custom error mode changed