clean and format datas