fix bug: avoid to get the inherited property