remove group references