Fix uninstalling apps.