Delete temporary files fix