fixes nested routes display errors