Fix pre to post uninstall