some fixes in pic download