fixed inherit-member lookup