removing refferals