Fixed uninstallation bug.