fix code snippets in some posts