Fixed a previous version uninstall issue

Fixed a previous version uninstall issue