fix job retrieval for layer2