This document proposes a modification to the Random Early Detection (RED) active queue management algorithm to account for the presence of both input and output queues in combined input and output queued (CIOQ) switches. Specifically, it suggests using a weighted sum of the input queue length and output queue length as the congestion measure, rather than just the output queue length. Simulations show this modified RED algorithm significantly reduces the average backlog in the switch compared to the original RED, especially at low speedups, without significantly impacting packet loss rates or switch utilization.