fix code styling in a chapter