uninstall mode fix