fix NPE with key lookups via StrToMember