add enough XX into the tmp dir path