fix non sync file downloaded every time