Fix uninstall bug