remove dead code, path caching methods