Remove print statements in preprocessing