Fixed compiler issue of router changes