Merge pull request #327 from pengfei-xue/devel

remove duplicated config initialization