fix typo, allow saving prefix for preprocessing