Fix bug in Bulk upload