fix example code formatting