define tmpdir for ladle