bug fix for saving of widget settings