fix nested routes