fix headers and links