Fixed: debug displaying values prematurely in router