Merge pull request #333 from pengfei-xue/devel

panic if parse failed
beeapi example is broken