fixing removed dep on duplex