remove preprocess pickle function