fixed some inheritance error