Correct inheritance error