Fixed error in code examples