update distribute to eliminate errors