fix to error handling -- set error flags even if HoldErrs set