fix tmpdir join