use offline option instead of DIB_OFFLINE