fix check
methods can have multiple local scopes