check for space after = too
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp
index fee6fe9..87118bc 100644
--- a/openrecoveryscript.cpp
+++ b/openrecoveryscript.cpp
@@ -102,6 +102,8 @@
 					val_start++; //get rid of space
 				if ((int) *val_start == 51)
 					val_start++; //get rid of = at the beginning
+				if ((int) *val_start == 32)
+					val_start++; //get rid of space
 				strncpy(value, val_start, line_len - cindex - remove_nl);
 				LOGINFO("value is: '%s'\n", value);
 			} else {