diff --git a/sites/all/modules/feeds_xpathparser/FeedsXPathParserBase.inc b/sites/all/modules/feeds_xpathparser/FeedsXPathParserBase.inc
index e31f29d..f845518 100644
--- a/sites/all/modules/feeds_xpathparser/FeedsXPathParserBase.inc
+++ b/sites/all/modules/feeds_xpathparser/FeedsXPathParserBase.inc
@@ -42,6 +42,11 @@ abstract class FeedsXPathParserBase extends FeedsParser {
       $source_config = $this->getConfig();
     }
 
+    // The data is saved with the key xpath when we override it.
+    if (isset($source_config['xpath'])) {
+      $source_config = $source_config['xpath'];
+    }
+    
     $this->doc = $this->setup($source_config, $batch);
 
     $mappings = $this->getOwnMappings();
@@ -157,6 +162,11 @@ abstract class FeedsXPathParserBase extends FeedsParser {
       return;
     }
 
+    // The data is stored with the key xpath when we override the configuration.
+    if (isset($source_config['xpath'])) {
+      $source_config = $source_config['xpath'];
+    }
+
     // Add extensions that might get importerd.
     $allowed_extensions = isset($importer_config['fetcher']['config']['allowed_extensions']) ? $importer_config['fetcher']['config']['allowed_extensions'] : FALSE;
     if ($allowed_extensions) {
