remove double display of errors.