fix the example program