fix tmp dir path