-Fix compile error
-Fix example program