correct bad links