fixed PIL fixing of the downloaded image