bugfix inherit from superclass