sorry, the `self.tmpdir` needs to stay