removes self.pathlist