fix bug cannot save widget advance settings fix #29