fix an errorn app.stream. (Only occurs when cache dir is empty)