fixes bad links