fix base class