deal with empty offline time