Fix distribute command