corrections in inheritance