fix wrong resolution of instance method instead of static method