Fix: queue traversing