remove unneeded path searches