inheritance issues fixed