some corrections to device errors