Fixed superclass bug