remove all links fn