prevent superclass mismatch