remove unneeded Path checks