temp directory path fix