more robust
Merge branch 'master' of https://github.com/zhengbx/dmet_bcs