Fix invalid example code