fix the displayed path