fix tmpdir path