Fix example to compile