--- custom_breadcrumbs_paths.module	2009-07-20 07:40:22.000000000 -0500
+++ patch_custom_breadcrumbs_paths.module	2009-08-09 02:34:38.000000000 -0500
@@ -122,7 +122,11 @@ function _custom_breadcrumbs_paths_get_b
   else {
     // Check for path prefix and strip it out if its found.
     $prefix = $language->language .'/';
-    $path = is_null($path) ? str_replace($prefix, '', $_REQUEST['q']) : $path;
+    //$path = is_null($path) ? str_replace($prefix, '', $_REQUEST['q']) : $path;
+    // we change the behavior here to take the node id and not the path
+    // since we always have the node/nid and we're using it to generate
+    // the specific_path in the database, see custom_breadcrumbs_form_alter
+    $path = is_null($path) ? 'node/'.arg(1) : $path;
     $param = array('specific_path' => $path);
   }
   $breadcrumbs = custom_breadcrumbs_load_breadcrumbs('custom_breadcrumbs_paths', NULL, $param, $languages);
