fix error
diff --git a/xos/tosca/resources/servicecontroller.py b/xos/tosca/resources/servicecontroller.py
index 3e1b0f7..ce350de 100644
--- a/xos/tosca/resources/servicecontroller.py
+++ b/xos/tosca/resources/servicecontroller.py
@@ -29,7 +29,7 @@
                     parts=value.split()
                     for part in parts[:-1]:
                        if ":" in part:
-                           (lhs, rhs) = part.split(1)
+                           (lhs, rhs) = part.split(":", 1)
                            if lhs=="subdirectory":
                                subdirectory=rhs
                            else: