upgrader cleanup