diff --git a/lib/chanko/invoker/function_finder.rb b/lib/chanko/invoker/function_finder.rb
index <HASH>..<HASH> 100644
--- a/lib/chanko/invoker/function_finder.rb
+++ b/lib/chanko/invoker/function_finder.rb
@@ -31,7 +31,11 @@ module Chanko
       end
 
       def active?
-        unit.try(:active?, context, active_if_options)
+        if unit
+          unit.active?(context, active_if_options)
+        else
+          false
+        end
       end
     end
   end
Fix problem that the unit may be false