remove the path as well