fix uninstall to properly remove temp files