fix formatting and broken links