minor bug in distribute detection, should only effect old, depreciated distribute