class: fix baseclass calling