bug fix at LookupStaticMethod