diff --git a/gnome-shell-extension-openweather.bmarks b/gnome-shell-extension-openweather.bmarks
deleted file mode 100644
index 2608b85..0000000
--- a/gnome-shell-extension-openweather.bmarks
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/gnome-shell-extension-openweather.layout b/gnome-shell-extension-openweather.layout
deleted file mode 100644
index 45c39dc..0000000
--- a/gnome-shell-extension-openweather.layout
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/extension.js b/src/extension.js
index 1769c89..5103e97 100644
--- a/src/extension.js
+++ b/src/extension.js
@@ -149,7 +149,7 @@ const OpenweatherMenuButton = new Lang.Class({
// Create user-agent string from uuid and (if present) the version
this.user_agent = Me.metadata.uuid;
- if (Me.metadata.version !== undefined && Me.metadata.version.trim() !== '')
+ if (Me.metadata.version !== undefined && Me.metadata.version.toString().trim() !== '')
{
this.user_agent += '/';
this.user_agent += Me.metadata.version.toString();
diff --git a/src/prefs.js b/src/prefs.js
index d2ad3db..518da1f 100644
--- a/src/prefs.js
+++ b/src/prefs.js
@@ -107,7 +107,7 @@ const WeatherPrefsWidget = new GObject.Class({
// Create user-agent string from uuid and (if present) the version
this.user_agent = Me.metadata.uuid;
- if (Me.metadata.version !== undefined && Me.metadata.version.trim() !== '')
+ if (Me.metadata.version !== undefined && Me.metadata.version.toString().trim() !== '')
{
this.user_agent += '/';
this.user_agent += Me.metadata.version.toString();