Fix router dev bug