Clean preprocessing