- fix the bug: detect the route is existed or not