change CheckOverride visibility from protected to public