fix upload-widget build