fix dist-upgrade command