Fixes bad links