modified GUI setting; remove depulicate lines