several fixes to make batch conversion7downlaoding work properly