clean up some temporary files when no longer needed