helps if the path exists