fixed links and code snippets