remove some unused references