fix the route duplicated bug