removing unneeded path