fix PATH ended slash.