Fixed the typo which stopped the widget working