diff --git a/domain_feeds.module b/domain_feeds.module
index 6fc1e2a..c87fafd 100644
--- a/domain_feeds.module
+++ b/domain_feeds.module
@@ -67,9 +67,9 @@ function domain_feeds_set_target($source, $entity, $target, $feed_element) {
  * user has decided to map to and $value contains the value of the feed item
  * element the user has picked as a source.
  */
-function domain_feeds_set_target_all($node, $target, $value) {
-  $node->domain_site = 1;
-  $node->domain_source = 0;
-  $node->domains = array(-1 => -1);
+function domain_feeds_set_target_all($source, $entity, $target, $feed_element) {
+  $entity->domain_site = 1;
+  $entity->domain_source = 0;
+  $entity->domains = 0;
   return $node;
 }
