Temp file fix