document distribution fixes