Fix uninstall code