inheritance fix