Fix example and issue #1