pre processing dataset