temporary file fixes