fix superclass mismatch error