Bugfix on inheritance passing needs