minor modification preprocessing ver 1.0.3