potfit_setup was lost, restore it