Merge pull request #335 from pengfei-xue/devel

beeapi example is broken