fixing inheritance issues