remove null reference links