make sure link formatting is correct