check for tmp dir location