diff --git a/ui/src/shared/functions.js b/ui/src/shared/functions.js
index <HASH>..<HASH> 100644
--- a/ui/src/shared/functions.js
+++ b/ui/src/shared/functions.js
@@ -1,7 +1,6 @@
 module.exports = {
   remCalc: function(values) {
-    values = values.replace('px', '');
-    values = values.split(' ');
+    values = values.replace('px', '').split(' ');
 
     let outputRems = '';
     const base = 16;
refactoring rem function