just saw the lines above this that clear the cache. so adding a clear in setPath would be redundant