path Cleaning