fix python uploader