[IC] improved download function