Fix root path discovery routes