better tmp dir handling
ignore tmp dir