fix toggling on method name