unused ref clean