Fix distribute
Merge pull request #1 from pwaller/distribute

Fix distribute