fixing batchFor in order_resource