another tmpfile bug addressed