Fixed uninstall events.