fix code sample typo in ch5