fix those checks for methods
-v 0.5.15 fix for inspector