Fix loading order of routers