fixes a bug for mass_uploader