remove unnessary data