[BUGFIX] Illegal string offset in DataPreprocessor