fixed download from local if cloud is not found