Fixed error where id and widgetVar attributes had the same value.