diff --git a/src/solid-ofn-rpp.js b/src/solid-ofn-rpp.js
index 42991b5df4ea7b1e415919b0097bfbe8da6c1e38..eaf1bf5f49da3227b2bbe065a74a9cb850fffee8 100644
--- a/src/solid-ofn-rpp.js
+++ b/src/solid-ofn-rpp.js
@@ -221,16 +221,6 @@ import("./utils.js").then((utils) => {
       },
     });
 
-    // Custom widget for select with ofn:label
-    core.Sib.register({
-      name: "custom-label-select",
-      use: [core.TemplatesDependenciesMixins.FormDropdownMixin, core.TemplatesDependenciesMixins.FormMixin, core.TemplatesDependenciesMixins.RangeMixin, core.BaseWidgetMixin],
-      template(value, attributes) {
-        debugger;
-        this.element.innerHTML += ``;
-      },
-    });
-
     customElements.define(
       "solid-ofn-rpp",
       class extends LitElement {
diff --git a/src/utils.js b/src/utils.js
index 0639847d430b01901703c53fba837bd3a5bd3a03..6f0d487bf3d4ff394c0962c5e291fbb145ae82eb 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -5,12 +5,13 @@ export const CLIENT_CONTEXT = {
 };
 
 /**
- * A function that returns the current path.
+ * Generate the path from the target URL.
  *
- * @return {string} the current path
+ * @param {string} target - The target URL to generate the path from. Defaults to current directory.
+ * @return {string} The generated path.
  */
-export function path() {
-  let path = ".";
+export function path(target=".") {
+  let path = new URL(target, import.meta.url).href;
   return path;
 }