Layer inheritance fix