modify preprocessing