fix bug in setting window + add more fields to the dddw