typos and rm temp file