fixed inheritance
Merge pull request #1053 from xliiv/fixed-inheritance

fixed inheritance