Fix adv.json toggle issue