fix example code style