slight inheritance fix