remap machine ids for dequeue