fixed syntax errors and broken links