fix uninstall plugin issue