fix "dist-upgrade"