fix subclass in PreProcessMixin