fixed path_rtx bug