adds missing widget class to two widgets