fixed issue with photo download on client