fix(scope): return null to supress an analyzer error