Fix broken attributes and links