Updated the initialization of routers

As white space is no longer used, intial value of the router is updated.