Corrected $TMPDIR variable