fix custom manager inheritance.