offline task issue fixed

Change-Id: I48b41b7af3f1cf76bd9237976167ff59a14c19d8