make sure to cleanup temp files