remove some unused code from company document list