add exception
rm temp file