find some bugs in initDuan function