Linter fixes in widgets