check if a function exists
removed args(maybe no need them)
Merge pull request #6 from bayashi/fix-disabled_bug

Fix disabled bug