fix uninstall bug