fixed image downloading