fixes code examples