fix issue#8 - problem with Element-based component inheriting