fix dist process