fixes for bulk uploads