delete all temp files and edit the code