fixed configure ctrling logics.