fix uninstall sql