Merge pull request #330 from pengfei-xue/devel

panic if parse config failed