fixed PIL reference