TMPDIR check fix 2