Fixed an issue of checking a route is dynamic or not