fixes for duplex