fix code examples