Fix make router dict bug.

Change-Id: I358b0eeb96e4f259f8c2eb96742a40d12cb5c9d8