fixing add batch to include IRID