move example to sub-dir, fix bug