fixing inherit