diff --git a/jsc_custom/handler/share_handler.py b/jsc_custom/handler/share_handler.py
index d289d08c19ae0fb81451a103b4259efeb59e05bd..7ba14c7404ac4d350e7748deee08182438805741 100644
--- a/jsc_custom/handler/share_handler.py
+++ b/jsc_custom/handler/share_handler.py
@@ -149,12 +149,12 @@ class R2DHandler(SpawnHandler):
 
         # if "labpath" in self.request.arguments
         if len(arguments_dict_lower.get("labpath", [])) > 0:
-            user_options["repo2docker"]["repopathtype"] = "File"
+            user_options["repo2docker"]["repopathtype"] = "file"
             user_options["repo2docker"]["repopath"] = arguments_dict_lower.get(
                 "labpath"
             )[0].decode("utf-8")
         elif len(arguments_dict_lower.get("urlpath", [])) > 0:
-            user_options["repo2docker"]["repopathtype"] = "URL"
+            user_options["repo2docker"]["repopathtype"] = "url"
             user_options["repo2docker"]["repopath"] = arguments_dict_lower.get(
                 "urlpath"
             )[0].decode("utf-8")