Entity inherit bug correction