add repo.Clear() for cache cleaning

Re-search edited pipe #353