fixing bad links