[fix] make photo uplaod and download more stable