Fixing the typo in the preprocess function.