fixed order of parent classes