diff --git a/src/components/structures/HomePage.js b/src/components/structures/HomePage.js
index e1e700f21e..2311cc1f30 100644
--- a/src/components/structures/HomePage.js
+++ b/src/components/structures/HomePage.js
@@ -46,8 +46,8 @@ module.exports = React.createClass({
translate: function(s) {
s = sanitizeHtml(_t(s));
// ugly fix for https://github.com/vector-im/riot-web/issues/4243
- s = s.replace(/Riot\.im/, 'Riot.im');
- s = s.replace(/\[matrix\]/, '');
+ s = s.replace(/Riot\.im/, 'Riot.im');
+ s = s.replace(/\[matrix\]/, '');
return s;
},