changed errors definition