Remove duplicate widgets declaration.