removes bad link