remove unneeded path