handle uninstall apps where older versions are present