fix error for addbulk