Compile error fix

Fixed widgetInfo class