fix CM inheritance