a little change for cmdgad --jingzbu