remove widget code