remove some refs