change temp dir to /tmp