added fix for bulkapi content-type errors