properly handle output string having space as separator
diff --git a/cs.c b/cs.c
index 70ae05e..a83f522 100644
--- a/cs.c
+++ b/cs.c
@@ -187,8 +187,12 @@
 			break;
 	if (*sp) {
 		*sp = '\0';
-		strncpy(insn->op_str, sp + 1, sizeof(insn->op_str) - 1);
+		// find the next non-space char
+		sp++;
+		for (; ((*sp == ' ') || (*sp == '\t')); sp++);
+		strncpy(insn->op_str, sp, sizeof(insn->op_str) - 1);
 		insn->op_str[sizeof(insn->op_str) - 1] = '\0';
+		printf(">>>> |%s|\n", insn->op_str);
 	} else
 		insn->op_str[0] = '\0';